//
//  SetBaseViewController.h
//  LocomotiveGuards
//
//  Created by zwj on 15-11-30.
//  Copyright (c) 2015年 REDOOR. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SetBaseViewController : UIViewController

- (UILabel *)createLabelFrame:(CGRect)frame title:(NSString *)title font:(UIFont *)font;
- (UITextField *)createTextFieldFrame:(CGRect)frame title:(NSString *)title placeholder:(NSString *)placeholder;
- (UIButton *)createBtnFrame:(CGRect)frame title:(NSString *)title bgImageName:(NSString *)bgImageName selectedImageName:(NSString *)selectedImageName target:(id)target action:(SEL)action;

- (UIButton *)addBackBtnTarget:(id)target action:(SEL)action;
- (UIButton *)addRightBtnTarget:(id)target action:(SEL)action;
- (UIImageView *)addTitle:(NSString *)titleName imageName:(NSString *)imageName;

@end
